package org.bits.data;

public class Release
{
    public String version;
    public DevelopmentState state;

    public Release( String v, DevelopmentState s )
    {
        version = v;
        state = s;
    }

    @Override
    public String toString()
    {
        return version;
    }

    @Override
    public boolean equals( Object obj )
    {
        if( obj != null )
        {
            return ( ( Release )obj ).version.equals( version );
        }
        return false;
    }

    @Override
    public int hashCode()
    {
        return version.hashCode();
    }
}
